package com.wocharging.base.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;

/**
* <p>
* 电费计价模板
* </p>
* @author yuzhou
* @since 2024-06-179 15:00:10
*/
@Data
@Accessors(chain = true)
@TableName("wo_electric_template")
@ApiModel(value = "WoElectricTemplate对象", description = "电费计价模板")
public class WoElectricTemplate implements Serializable {

    private static final long serialVersionUID = 1L;
    @ApiModelProperty("模板Id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("模板名称")
    @TableField("temp_name")
    private String tempName;

    @ApiModelProperty("模板代码")
    @TableField("temp_code")
    private String tempCode;

    @ApiModelProperty("计费方式1: 统一计费 2: 分段计费")
    @TableField("temp_type")
    private Integer tempType;

    @ApiModelProperty("状态1:有效  2:禁用")
    @TableField("status")
    private Integer status;

    @ApiModelProperty("备注")
    @TableField("remark")
    private String remark;

    @ApiModelProperty("1:可用 0:删除")
    @TableField("flag")
    private Integer flag;

    @ApiModelProperty("运营商ID")
    @TableField("operation_id")
    private String operationId;

    @ApiModelProperty("创建人")
    @TableField("create_by")
    private String createBy;

    @ApiModelProperty("创建时间")
    @TableField("create_time")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date createTime;

    @ApiModelProperty("更新人")
    @TableField("update_by")
    private String updateBy;

    @ApiModelProperty("更新时间")
    @TableField("update_time")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date updateTime;

}
